package com.tg.service.base.factorybean;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class MyBeanA {

    private static final Logger LOGGER = LoggerFactory.getLogger(MyBeanA.class);

    private MyService myService;

    public MyService getMyService() {
        return myService;
    }

    public void setMyService(MyService myService) {
        this.myService = myService;
    }

    public void invoke(){
        this.myService.action();
        LOGGER.info("MyBean.invoke");
    }
}
